<table width="100%" cellspacing="0">
<tbody>
<tr>
<td valign="top" style="width:300px">
	<table width="100%" cellpadding="0" cellspacing="0" style="border:1px solid #bbbbbb" class="filterForm">
		<tr>
			<td width="100%" bgcolor="#dddddd" style="padding-bottom:0px">
				<table border="0" cellpadding="0" cellspacing="0" width="100%" style="margin-bottom:0px">
				  <tbody>
					<tr>
					  <td bgcolor="#dddddd" height="20" style="padding-bottom:0px">
					  <table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0" style="border:0px;">
						  <tbody>
							<tr>
							  <td width="1%"><b>Select:</b>&nbsp;</td>
							  <td align="center" nowrap="nowrap" width="10%"><a href="#"><b>View</b></a></td>
							   <td width="10%" align="center">
							  	<a  style="padding: 4px 7px"><a href=""><b>Edit</b></a>
							  </td>
							  <td width="10%" align="center">
							  	<a href="<?=$this->baseUrl()?>/filter/new"  style="padding: 4px 7px"><b>New</b></a>							  </td>
							  <td align="center" width="10%"  bgcolor="#AAAAAA"><font color="#ffffff"><b>Manage</b></font></td>
							  <td width="1%">&nbsp;</td>
							</tr>
						  </tbody>
					  </table></td>
					</tr>
				  </tbody>
				</table>			</td>
		</tr>
		<tr>
			<td>
				<table>
					<tbody>
						<tr>
							<td>
								<b>Name</b><br>
								filter name here
							</td>
						</tr>
						<tr>
							<td>
								<b>Description</b><br>
								description here
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		<tr>
			<td height="24" bgcolor="#F0F0F0"><strong>Summary</strong></td>
		</tr>
		<tr>
			<td>
				<table>	
					<tbody>
						<tr>
							<td>
								<div>Project:<a href="">project name</a></div>
								<div><b>Sorted By:</b>name of the sorted field</div>
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		<tr>
		<tr>
			<td height="24" bgcolor="#F0F0F0"><strong>Operations</strong></td>
		</tr>
		<tr>
			<td>
				<table>
					<tbody>
						<tr>
							<td>
								<a href=""><b>Edit</b></a> current filter details<br>
								<a href=""><b>Save as</b></a> new filter
							</td>
						</tr>
					</tbody>
				</table>
			</td>
		<tr>
		<tr>
			<td height="24" align="center" bgcolor="#F0F0F0">&nbsp;</td>
		</tr>
	</table>
	</form>
</td>
<td valign="top">
<br>
	<table width="98%" align="center" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
		<tbody>
			<tr>
				<td bgcolor="#F0F0F0">
					<h3 style="margin-top:5px">Manage Filters</h3>
			  </td>
			</tr>
			<tr>
				<td bgcolor="#FFFFFF"><p style="margin-top:10px;margin-bottom:10px">
					Filters are issue searches that have been saved for re-use. This page allows you to manage all filters created by you.</p> 
			  </td>
			</tr>
		</tbody>
	</table>
	<br>
	<table width="98%" align="center" cellpadding="0" cellspacing="1" bgcolor="#DDDDDD">
		<tr bgcolor="#F0F0F0">
			<td height="25"><strong>Name</strong></td>
			<td><strong>Issues</strong></td>
			<td><strong>Author</strong></td>
			<td><strong>Operations</strong></td>
		</tr>
		<?php 
			$i = 1;
			foreach ($this->filterData as $filter) { ?>
		<tr <?php if($i % 2) { echo "class='rowNormal'"; } else { echo "class='rowAlternate'";}?>>
			<td>
				<div><a href="<?=$this->baseUrl()?>/filter/view/id/<?=$filter['id']?>"><?=$filter['filtername']?></a><div>
				<div><?=$filter['description']?></div>
			</td>
			<td><?=$filter['c']?></td>
			<td><?=$filter['authorname']?></td>
			<td>operations</td>
		</tr>
		<?php 
			$i++;
		}?>
	</table>
</td>
</tr>
</tbody>
</table>